<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        // function name(params) {  params是形参
        //     // 语句
        // }
        // name(params) 调用的时候是实参
        function cook(arg) {
            console.log(arg);
        }
        cook('酸辣土豆丝')
        cook('大肘子')
    </script>
</body>

</html>